package com.lyn.tencent_health_code.dao;

import com.lyn.tencent_health_code.database.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
 * @author almost
 */
@Repository
public interface UserDao extends JpaRepository<User,String>, JpaSpecificationExecutor<User> {
    User findUserByUserName(String userName);

}
